Added Timeout in OrientSocket recv
Improvements on socket connection