Simplify isWebsocket func
go fmt utils.go utils_test.go