Added getHostAddress() and getExternalAddress()