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>
Merge pull request #41 from cryptocrack/fix-offline-status

Add offline status
Oops I forgot to merge this, sorry!