Changed long option to show only header info to be compatible to curl
Added basic log4j configuration
Added header option to command lines