Enhancement: Added possibility to read the URL scheme from a proxy
server header
Fix: Validate the "byte_buffer" before accessing