Add default http options to stream context, fixes #1774