Fix some HTTP issues