Socket can now connect, send and receive (with msgpack) through simple hooks