Wake on Lan

These are commits from PR80 that add the ability to wake the backend using wol.

I'd like to do a bit more testing before merging.