Fixed classloader issue in WebSocketInvoker factory code