adding support for empty frames to zsock_send