finally able to set http headers on hijacked connection, need to investigate more on setting appropriate http headers