cosmetic change: replaced quotes in proxy example to match with other settings
added check to prevent notice of undefined offset and running into unhandeled exception