using net http instead of ruby ftw