Renamed order, transaction to sessionOrder, sessionTransaction
Receive messages from bot server
Refactored socket recv/send interface
Socket cleanup