Removed duplicate line
Implemented check on invalid UTF-8 sequence in close reason
Adapted helloworldserver to use new signals (has been tested against autobahn)