Build fixes
Use httputil error functions