Merge pull request #200 from exarkun/npn

Add Lukasa's next protocol negtiation API/implementation.