Implemented outgoing.placeOrder(). Now all API functions are covered. Need to test more.
Catch ECONNREFUSED error from connect().