Server now uses new psutils API and does not crash on failed handshake