Add encoder support for Boolean and Long, clean up some error handling, disable stomp test in BasicServerTest

- clean some of the error handling so that we get back some errors instead of just printing them to the console.
- add support for encoding Boolean and Long values.
- disabled the stomp test in BasicServerTest due to intermittent failures.