master now listens for a magic packet
changed server to work