Set npnProto (also ALPN) to 'h2-14', add test hook.
patch curl with EOF fix

From: http://curl.haxx.se/mail/archive-2014-09/0018.html
In test, timeout waiting for server to reply.