Close #11 - Take into account line endings of remote server