changed imports; base support for websockets (JBConnectionDelegate)