remove some plenks and added some newlines

no logic changes
log exception thrown when the handshake fails