Added recv_timeout parameter to the socket transport options.
You can now call thrift_socket_transport:new_transport_factory(Host, Port, [{recv_timeout,5000}])
if you wish to set a receive timeout of 5 sseconds.