Add tests for remembering websocket upgrade

Add 'rememberUpgrade' section. Tests whether sockets remember the upgrade to
webscoket if and only if the 'rememberUpgrade' flag is set.
Merge pull request #257 from nlagrow/remember-upgrade

Add tests for remembering websocket upgrade