private function parse_response_headers( $headers ) {
		$head = array();
		foreach ( $headers as $key => $value ) {
			$tag = explode( ':', $value, 2 );
			if ( isset( $tag[1] ) ) {
				$head[ trim( $tag[0] ) ] = trim( $tag[1] );
			} else {
				$head[] = $value;
				if ( preg_match( '`HTTP/[0-9\.]+\s+([0-9]+)`', $value, $out ) ) {
					$head['response_code'] = intval( $out[1] );
				}
			}
		}
		return $head;
	}