Fixed to work on quakenet

Changed pong method and added a sleep to work on quakenet.org.
other minor changes as well.