Apply patch from https://svn.boost.org/trac/boost/ticket/7610 to support PSK authentication