stability improvements for Http_helper module