Refactor of plug/unplug handling. lychee.net.Service now has plug and unplug events on both client and server side.