+ basic authentification support
Adding test for basic authentication.
Commenting on timeout parameter, and fixing read bug in server.
Removing unused part about subprotocol.
Merge pull request #9 from Textalk/basic-auth

Basic auth support.