Added logging library, fixed test code to use HttpUrlConnection instead of netty client