Change to pass through close reason on websocket connection close
Fix a couple of compiler warnings in SocketRocket