Async http tunneling and minor fixes