added proxy support; fixed multiple chained proxies present in HTTP_X_FORWARDED_HOST which cause getHttpHost() to break api calls
fixed typos
Merge remote-tracking branch 'upstream/master'

Conflicts:
	src/base_facebook.php
    Added support for multiple chained proxies that append a comma and their hostnames to the previous X-Forwarded-Host header.
    If we have Client <---> Fwd Proxy1 (first.proxy) <---> Fwd Proxy2 (second.proxy )<---> Application (third.server), then we
    will have these values for a script executed on third.server::

    $_SERVER['HTTP_X_FORWARDED_HOST'] = 'first.proxy, second.proxy';
    $_SERVER['HTTP_HOST'] = 'third.server';

    If we use the raw value from $_SERVER['HTTP_X_FORWARDED_HOST'] for composing return URLs, we will generate invalid return URLs,
    in our case 'http://first.proxy, second.proxy/fb_oauth.php', and get a 'Oauth exception 191' or some other error message.

    If we properly process the X-Forwarded-Host value by taking the leftmost host, we will not get errors.
switched from strtok() to explode()
fixed typo
Merge branch 'master' of https://github.com/facebook/facebook-php-sdk
removed stateful functions; allow for fallback when the forwardProxies array is empty (via gfosco)
Merge pull request #114 from moisadoru/master

Support for multiple chained forward proxies in getHttpHost()