mrpdclient: mrpdclient_close() send a "BYE" before closing connection

The "BYE" message allows the mrpd daemon to free a client connection.
This commit thus prevent a leak risk by both sending this message and
closing the socket on client side.
Is there a cleaner way to do this? Seems a bit odd to be ORing return codes. Makes one read the code twice at least.