'Construct a websocket frame from an in-memory bytestring
to construct a frame from a stream of bytes, use from_file() directly'

@classmethod
def from_bytes(cls, bytestring):

    return cls.from_file(tcp.Reader(io.BytesIO(bytestring)))
