Add WebSocket API handler
Replaced all calls to Backbone fetch with app.sendCommand
Prevent inventory overlapping very long messages