Connacht Rugby and Wasps stalwart Johnny O'Connor has announced his retirement after an illustrious 14-year career.