add support for http status code (avail. only php 5.4)