Added java api (still work in progress, however everything works). Added a builder for SockJSRouter