remove duplicated WAKE_LOCK
enable registration again, do ping/pong on websocket layer
patch hell, needs new version