'Pack the message inside ``00`` and ``FF``
As per the dataframing section (5.3) for the websocket spec'

@staticmethod
def _pack_message(message):

    if isinstance(message, unicode):
        message = message.encode('utf-8')
    elif (not isinstance(message, str)):
        message = str(message)
    packed = ('\x00%s\xff' % message)
    return packed
