trim messages
trim messages
tweak jvm settings
added logging
ping websocket to keep connection alive