Merge pull request #3 from AlexandreBeaulne/refactor

made init() function of gen_server molderl_stream more robust to conection failure