Implement write sniffed data to file PKT 3.1 format.
Also implemented read client locale.

Signed-off-by: Konctantin <gawrilyako@gmail.com>