Accept leftmost and rightmost bits for DH key exchange
Merge branch 'master' into test_travis