Updated to ignore SIGPIPE and made several Range handling improvements