Add get_peer_ip_address utility function

The functon returns string representation of peer's
IP address. We will need this to update ZAP implementation.
Update CURVE mechanism to the latest ZAP revision
Update PLAIN mechanism to the latest ZAP revision
Implement ZAP for NULL mechanism
Merge pull request #617 from hurtonm/zap_updates

Zap updates