added and refactored tests for zmtp_socket_connect and zmtp_socket_open. Tests aren't complete yet.
Refactored zmtp_connect, now able to send and receive greetings. Not tested yet.