Changes to allow the use of the Jetty NPN library, to enable SPDY support

The second commit is not essential, but makes things a bit cleaner, and removes the need for hacks such as weak hash maps to store the negotiated next protocol.