Support SSL.

Signed-off-by: HIRANO Takahito <hiranotaka@zng.info>