varnishapi.py pylinted

A rather larger, but not full, pylint clean-up of varnishapi.py

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
vsltrans.py pylinted

A rather large, but not full, pylint of vsltrans.py

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Attempt to translate comments written in Japanese

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
vsltrans.py - replace TODO and XXX

pylint doesn't like those, so replace it with '...' as we simply don't know.

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Add more comments/translations

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
filter_backend() - handle unexpected message

Commit handles unexpected message in filter_backend(). Fixing means to ignore
such message, because we don't know what to do with it(not now).
I've added message as well for clarity.

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Put methods in alphabet order
Rename vapLoop() -> vap_loop()

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Another pylint run on vsltrans.py

Rename methods/variables, add comments to methods
Fix bug in parsing of HTTP Headers

Commit fixes bug in parsing of HTTP Headers. It seems like author didn't take
into account the fact there might be values which contain ':' as well. Message
has been split and then first chunk was used as a key, second as a value, rest
ignored.

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Add original japanese comments

Commit adds/re-adds original japanese comments which were removed through the
translation process. Mostly because I haven't thought about PR request and all.

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>