Handle getting a null from getNewParser gracefully

Not sure if this happens in bitcoinj today, but I was using NIoServer for the RelayNode stuff, and I wanted to use this to make a connection close on open (which was the original intent).