Add a PeerGroup.connectToLocalhost helper method.
Rename misnamed PaymentRequestException to PaymentProtocolException. It's used for payment messages and maybe payment acks as well.
Extract methods for creating and parsing payment requests, payment messages and payment acks, as well as Ack data class. Expose more payment request data from PaymentSession. Add unit tests for roundtripping all messages.
Minor reformattings + more javadocs + rename signRequestPki to just signRequest as there are no other signing methods at the moment.
WalletFiles: don't delete temp file if rename failed. It might be the only copy of the wallet we have! Only really should affect Windows.
issue 302: adding getter/setter for 'number of peers to discover', give copy of Address set to listener
Merge branch 'master' of github.com:mrosseel/bitcoinj