Combined node.go and p2p into a single package that will become an
integrated network layer for receiving and sending info to/from other
nodes.
added some payload encoding/decoding tests. Fixed addrinfo encoding/decoding errors.