Code-gen cleanup. Improved EF/Network conversion. Added some default headers for HttpClient based code.