Handle httplib.IncompleteRead exception

Closes #5