Fixed http module (double error callbacks)