This question already has an answer here:
Everybody knows making your own cipher really sucks.
Everybody also knows using existing cryptosystems, such as TLS, totally doesn't suck.
But when is the line drawn? For example, would I be rolling my own if I use established algorithms, but design my own TLS-like protocol? How about if I reimplement popular protocols?