Storing the port in the api object
Using a batched stream to send to all devices
Separate method to get the devicesQuery
Fixed bug where the agent did not reconnect when the connection was unexpectedly dropped
Added callback to send
Fixed bug where it would crash on feedback
Added sherlock as winston transport
Passing the filename everywhere where log is used