Don't send request(0) on empty line.
Fix memory leak.

Remember to properly reserve msgpack buffer.

Remove unused Socket::recv_msgpack().