host: Remove old httpWriteError and use httphelper instead

Signed-off-by: Corey Powell <mistdragon100@gmail.com>