Moves read and write handshare to dedicated functions
Moves read and write handshare to dedicated functions

This makes sure the connection borrow does nout outlive the operation.
It is required to be able to use the connection in event loop registration

tempbottle/scaproust