Add new functions test
Minor fixes in the WebSocket-TCP proxy.