NUTCH-1483 (including NUTCH-1879, NUTCH-1880, NUTCH-1885) fix errors related to protocol-file

git-svn-id: https://svn.apache.org/repos/asf/nutch/trunk@1636736 13f79535-47bb-0310-9956-ffa450edef68