Code cleanup and comments

Signed-off-by: Zeljko <zeljko@zwr.fi>
Remove .orig file

It was there only for tracking astyle changes.

Signed-off-by: Zeljko <zeljko@zwr.fi>
FIX: allow two non-option params

This allows two parameters, previous 3 were requested, which is
wrong: GET <LOCATION> has two.

Signed-off-by: Zeljko <zeljko@zwr.fi>
Verbose output cleanup.

Do not show any output unless verbose or debug flag is set. Show on
server side the result of each received request.

Signed-off-by: Zeljko <zeljko@zwr.fi>
formatting: multi-line function call

Signed-off-by: Zeljko <zeljko@zwr.fi>
print binary received file to stdout

Previous approach with printf would print until the first zero
byte, which was OK while testing with text file but was of course
making rubbish on binary files. Using fwrite instead quickly solves
the issue.

This commit passes the test with large files, exchanging large photos
of Pamela Anderson and Claudia Schiffer, which should be sufficient
for the purpose of this work.

Signed-off-by: Zeljko <zeljko@zwr.fi>