Small diff in files I made. Big thanks to Klemen Kenda for providing proxy.php.