fixed regression in optimistic mode related to socks parsing