protected function normalizeHeaders(array $headers)
    {
        if (empty($headers["User-Agent"]))
            $headers["User-Agent"] = "evias NEM Blockchain Wrapper";

        if (empty($headers["Accept"]))
            $headers["Accept"] = "application/json";

        if (empty($headers["Content-Type"]))
            $headers["Content-Type"] = "application/json";

        return $headers;
    }
protected function normalizeHeaders(array $headers)
    {
        if (empty($headers["User-Agent"]))
            $headers["User-Agent"] = "evias NEM Blockchain Wrapper";

        if (empty($headers["Accept"]))
            $headers["Accept"] = "application/json";

        if (empty($headers["Content-Type"]))
            $headers["Content-Type"] = "application/json";

        return $headers;
    }
protected function normalizeHeaders ( array $ headers ) { if ( empty ( $ headers [ "User-Agent" ] ) ) $ headers [ "User-Agent" ] = "evias NEM Blockchain Wrapper" ; if ( empty ( $ headers [ "Accept" ] ) ) $ headers [ "Accept" ] = "application/json" ; if ( empty ( $ headers [ "Content-Type" ] ) ) $ headers [ "Content-Type" ] = "application/json" ; return $ headers ; }
This method makes sure mandatory headers are
added in case they are not present.

@param  array  $headers [description]
@return [type]          [description]
This method makes sure mandatory headers are added in case they are not present .