Fixes alpn support for secure server