Open-Transactions/opentxs — pull request #426 by OttoAllmendinger (2014-11-18 14:30:59+00:00)
Title: Socket::Listen() called twice in unexpected request

Listen() should only be called once for a socket. A second call will throw an
exception. It gets called a second timewhen `shouldDisconnect` is true, throwing
an exception. Since there is no catch-clause, it crashes the server.

This makes it trivially easy to crash the server for unauthenticated users, even
by accident.