Add tests for remembering websocket upgrade

Add 'rememberUpgrade' section. Test whether sockets remember the upgrade to
websocket if and only if the 'rememberUpgrade' flag is set.