Infrastructure stuff

readFromSocketNew() function reads a bitcoin message header
and payload from a socket.  Added buildHeaderAndChecksum() function
for sending messages (untested).