ofhttp: Fix error code not always being set