Closed #19: locking around libwebsocket_service in Client and Server