Removed URL wrapper, added powermock. Fixed issue in unchunked writer.