Fix passing of NULL into srdup.
Merge pull request #110 from jacob-baines/http_crash

Segmentation Fault in ec_http.c