Changes to improve performance, add ByteString interface to Request.