URI parse bug fix

Convert cipher methods to lower-case.
Show error message when cipher method is not supported.