Changed static method to extern so it can be accessed elsewhere
Added hack to fix issue with streamed data requests not including content length. Fix just loads everything into NSData... not so great...