kstock:
1) Improved HTTP error handling.

sample_point_creator:
1) Improved error handling.