Implement pings to server on interval. Handle pongs from server.
Merge remote-tracking branch 'upstream/master'
Try to re-establish connection if no pong received within 5 seconds after ping. Fixed formatting of previous commit.
Merge remote-tracking branch 'mrichardson23/master'