Don't set encoding on every request only when connection is created