Completely rewrote the HTTP engine in leu of the issues from NFSN-client
project.