Update endpoint.rb

Adding msg_trace as initialization parameter with default value.
Merge pull request #19 from jaroszan/remove-msg-trace-warning

Update endpoint.rb