Store identity for raw socket

Identity stored during connect procedure. Can be read using
zmq_getsockopt and used as the identity frame when sending messages.
This allows the implementation of a raw socket client.
Merge pull request #592 from gavinmcniff/master

Store identity for raw socket