puzzle with restler and buffers to get url