Fix encryption secret length read in handlePeerSocketConnection and make Peer class constants static