As per mbedtls documentation. This is different to lwip_getaddrinfo() which uses loopback for a NULL address. Fixes bug mentioned here https://groups.google.com/forum/#!topic/esp-open-rtos/3KH5TZSTMUw