bug in all spec tests
set opts = {} first, then merge in options
adding httparty and headless code for 0.2 release