Updating encoding for ALPN string.  Closes #388.