GUACAMOLE-489: Merge lock both wrapped sockets when performing operations through a tee socket.
GUACAMOLE-489: Merge lock both wrapped sockets when performing operations through a tee socket.

apache/guacamole-server,mike-jumper/incubator-guacamole-server,apache/guacamole-server,glyptodon/guacamole-server,apache/guacamole-server,glyptodon/guacamole-server,mike-jumper/incubator-guacamole-server,mike-jumper/incubator-guacamole-server,mike-jumper/incubator-guacamole-server,glyptodon/guacamole-server