I know the nginx comments add a little confusion to the post (as I wasn't sure at the time what was going on), but I don't think Apache vs. nginx was the problem.
In retrospect it may not be the library, it might have been scheme, but none the less when I switched to wget, the problem went away.