Handle exceptions in flush better
Add JDK8 profile to select correct ALPN version