'Validates the origin of a WebSocket connect message.
Must be overwritten by subclasses.'

def validate_origin(self, message, origin):

    raise NotImplemented('You    must    overwrite    this    method.')
