             payloadLength: UInt64(payload.count),
             maskingKey: .none
         )
+
         let msg = Message(header: header, payload: payload)
         try send(msg)
     }


 Right now it's dependent on response, it should timeout and close _not cleanly_
 */

import Strand

extension WebSock {
    public func send(_ msg: Message) throws {

                let frame = try parser.acceptMessage()
                try received(frame)
            } catch {
                Log.error("WebSocket Failed w/ error: \(error)")
                try completeCloseHandshake(cleanly: false)
            }
        }
    }
