Non-local exchange and correlation in the jellium model of surfaces