Fix smart_str_append()

Would segfault if src->s == NULL.
Fix invalid zend_string free in soap

By making get_http_headers() return the zend_string* directly.