Fixed formatting bug (it caused malfunction of custom type deserializers) in response_for method. I've also cleaned up the code a bit.
Agent - I've overloaded queue_request so that only this is used to send messages (it puses message on queue and then sends it). Refactored gather_responses method so that if data gets fragmented method doesn't discard partial message, but stors it and when new data arrives it appends it to the stored one. MessagingHelper - cleaned up and refatored queue_request so that it supports well messages with empty body.
Fixed bug with invalid money assignment during processing stocks list in on_list_of_stocks method.
Added automatic updating of @stocks and @orders in on_order_completed and on_order_change.