Fix infinite loop in fromSocketTimeout and fromSocketTimeoutN
Move changelog to changelog.md