added proxySpdy function, updated examples