Have you looked at this thread? It would be interesting to see whether the test binary @mdma provided with his comment help solve your problem.