Add support for socket types, and specific untested support for v2 and v3 sub socket.
add initial zre protocol support. not yet working.