updating http server exception handling