put websockets in blocking mode when writing

We were encountering a OpenSSL.SSL.WantWriteError on arbor.kitware.com when attempting to send a relatively large image to the client over wss.  This change solves the problem.