Add offline status

Register the offline status to make sure waprpl_close() actually gets
called when the user decides to go offline. Fixes #8.

Signed-off-by: Lukas Fleischer <info@cryptocrack.de>