Allow sending headers with socket-based requests.