Added tests for valid and invalid close codes
Added tests for invalid UTF8 sequences in close frames