Fixed keepalive

no more disconnects, can detect network disconnects + network cable
unplugs
Merge pull request #7 from d3agle/master

Fixed keepalive