Compile fix and fix for http connection prioritization.

Signed-off-by: Frank Mertens <frank@cyblogic.de>